/*
 * Copyright(C) 2013-2017 AnZhouInc.ALL Rights Reserved.
 *
 * FileName: OutResult
 * 
 * Description: xxxxx
 *
 * History:
 * 版本号    作者    日期    操作
 * 1.0    ZhouFan 2018/2/11 0011   x
 * ...
 */
package com.fantazy.springswaggerdemo.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author ZhouFan
 * @version 1.0
 * @date 2018/2/11 0011
 * @see
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel
public class OutResult<T> implements Serializable {

    @ApiModelProperty(value = "数据", example = "str")
    public T data;

    @ApiModelProperty(value = "状态码,0表示成功 其他表示失败", example = "0")
    public int status;

    @ApiModelProperty(value = "错误信息", example = "操作成功")
    public String message = "";

}